<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <style>
        body{
            margin: 0;
            padding: 0;
        }

    </style>
</head>
<body>
    <div style="background:#ddc;height: 100px;width: 100px;">
        <header style="background:#123;height: 10px;width: 10px;position:fixed;left:0;top: 0"></header>
        <div style="height: 1000px;position: relative">eee</div>
    </div>
</body>
</html>